\hypertarget{structVolumeCalc}{}\section{Volume\+Calc Struct Reference}
\label{structVolumeCalc}\index{Volume\+Calc@{Volume\+Calc}}


calculate the volume of underwater body  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structVolumeCalc_a21a672444dafcae8293fe2b8be4dc071}{Volume\+Calc} (const \hyperlink{classShipCAD_1_1Plane}{Plane} \&wl, \hyperlink{classShipCAD_1_1HydrostaticCalc}{Hydrostatic\+Calc} $\ast$hc)
\item 
Q\+Vector3D \hyperlink{structVolumeCalc_ac075a2bc2a2a39a3e89c8b3184bea996}{Rotate\+Point} (Q\+Vector3D p)
\item 
void \hyperlink{structVolumeCalc_a76b82a9e1e96365185536a8fc799e235}{Check\+Submerged\+Body} (Q\+Vector3D p, float side)
\item 
void \hyperlink{structVolumeCalc_ae4d9b88d4538df112bdf297a3c6364b8}{Process\+Triangle} (Q\+Vector3D p1, Q\+Vector3D p2, Q\+Vector3D p3)
\item 
void \hyperlink{structVolumeCalc_a9dc91b671e810b1bd4236565a89caf05}{run} ()
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
Q\+Vector3D \hyperlink{structVolumeCalc_aed779c2eace630d0d41239df4d371407}{new\+\_\+origin}
\item 
Q\+Vector3D \hyperlink{structVolumeCalc_a07e433d13508d3342e7f6a50604c40d3}{keel}
\item 
float \hyperlink{structVolumeCalc_a6de823cbd9bb3aaedcb398a43b3187a5}{Cos\+Trim}
\item 
float \hyperlink{structVolumeCalc_a36511f2f033b5488a4f677586f3e8f97}{Sin\+Trim}
\item 
float \hyperlink{structVolumeCalc_a5f92422c5175c94b265581fd19f1da24}{Cos\+Heel}
\item 
float \hyperlink{structVolumeCalc_ac1612ccb79673d6800b89a1acf46a028}{Sin\+Heel}
\item 
bool \hyperlink{structVolumeCalc_a3bc27914e09f86d93cb28daad90dddc1}{first\+\_\+submerged\+\_\+point}
\item 
bool \hyperlink{structVolumeCalc_ab639da79639aeb33b3aaeb429283f8ca}{first\+\_\+point}
\item 
\hyperlink{classShipCAD_1_1HydrostaticCalc}{Hydrostatic\+Calc} $\ast$ \hyperlink{structVolumeCalc_a5b3b6d4983faa3c309ddc85981945993}{hydro\+\_\+calc}
\item 
\hyperlink{structShipCAD_1_1HydrostaticsData}{Hydrostatics\+Data} \& \hyperlink{structVolumeCalc_acb7ab639ec6e5c77daf116c6eb58693a}{data}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
calculate the volume of underwater body 

Definition at line 679 of file hydrostaticcalc.\+cpp.



\subsection{Constructor \& Destructor Documentation}
\index{Volume\+Calc@{Volume\+Calc}!Volume\+Calc@{Volume\+Calc}}
\index{Volume\+Calc@{Volume\+Calc}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{Volume\+Calc(const Plane \&wl, Hydrostatic\+Calc $\ast$hc)}{VolumeCalc(const Plane &wl, HydrostaticCalc *hc)}}]{\setlength{\rightskip}{0pt plus 5cm}Volume\+Calc\+::\+Volume\+Calc (
\begin{DoxyParamCaption}
\item[{const {\bf Plane} \&}]{wl, }
\item[{{\bf Hydrostatic\+Calc} $\ast$}]{hc}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{structVolumeCalc_a21a672444dafcae8293fe2b8be4dc071}{}\label{structVolumeCalc_a21a672444dafcae8293fe2b8be4dc071}


Definition at line 692 of file hydrostaticcalc.\+cpp.



\subsection{Member Function Documentation}
\index{Volume\+Calc@{Volume\+Calc}!Check\+Submerged\+Body@{Check\+Submerged\+Body}}
\index{Check\+Submerged\+Body@{Check\+Submerged\+Body}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{Check\+Submerged\+Body(\+Q\+Vector3\+D p, float side)}{CheckSubmergedBody(QVector3D p, float side)}}]{\setlength{\rightskip}{0pt plus 5cm}void Volume\+Calc\+::\+Check\+Submerged\+Body (
\begin{DoxyParamCaption}
\item[{Q\+Vector3D}]{p, }
\item[{float}]{side}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{structVolumeCalc_a76b82a9e1e96365185536a8fc799e235}{}\label{structVolumeCalc_a76b82a9e1e96365185536a8fc799e235}


Definition at line 717 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!Process\+Triangle@{Process\+Triangle}}
\index{Process\+Triangle@{Process\+Triangle}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{Process\+Triangle(\+Q\+Vector3\+D p1, Q\+Vector3\+D p2, Q\+Vector3\+D p3)}{ProcessTriangle(QVector3D p1, QVector3D p2, QVector3D p3)}}]{\setlength{\rightskip}{0pt plus 5cm}void Volume\+Calc\+::\+Process\+Triangle (
\begin{DoxyParamCaption}
\item[{Q\+Vector3D}]{p1, }
\item[{Q\+Vector3D}]{p2, }
\item[{Q\+Vector3D}]{p3}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{structVolumeCalc_ae4d9b88d4538df112bdf297a3c6364b8}{}\label{structVolumeCalc_ae4d9b88d4538df112bdf297a3c6364b8}


Definition at line 740 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!Rotate\+Point@{Rotate\+Point}}
\index{Rotate\+Point@{Rotate\+Point}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{Rotate\+Point(\+Q\+Vector3\+D p)}{RotatePoint(QVector3D p)}}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Vector3D Volume\+Calc\+::\+Rotate\+Point (
\begin{DoxyParamCaption}
\item[{Q\+Vector3D}]{p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{structVolumeCalc_ac075a2bc2a2a39a3e89c8b3184bea996}{}\label{structVolumeCalc_ac075a2bc2a2a39a3e89c8b3184bea996}


Definition at line 709 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!run@{run}}
\index{run@{run}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{run()}{run()}}]{\setlength{\rightskip}{0pt plus 5cm}void Volume\+Calc\+::run (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{structVolumeCalc_a9dc91b671e810b1bd4236565a89caf05}{}\label{structVolumeCalc_a9dc91b671e810b1bd4236565a89caf05}


Definition at line 763 of file hydrostaticcalc.\+cpp.



\subsection{Member Data Documentation}
\index{Volume\+Calc@{Volume\+Calc}!Cos\+Heel@{Cos\+Heel}}
\index{Cos\+Heel@{Cos\+Heel}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{Cos\+Heel}{CosHeel}}]{\setlength{\rightskip}{0pt plus 5cm}float Volume\+Calc\+::\+Cos\+Heel}\hypertarget{structVolumeCalc_a5f92422c5175c94b265581fd19f1da24}{}\label{structVolumeCalc_a5f92422c5175c94b265581fd19f1da24}


Definition at line 685 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!Cos\+Trim@{Cos\+Trim}}
\index{Cos\+Trim@{Cos\+Trim}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{Cos\+Trim}{CosTrim}}]{\setlength{\rightskip}{0pt plus 5cm}float Volume\+Calc\+::\+Cos\+Trim}\hypertarget{structVolumeCalc_a6de823cbd9bb3aaedcb398a43b3187a5}{}\label{structVolumeCalc_a6de823cbd9bb3aaedcb398a43b3187a5}


Definition at line 683 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!data@{data}}
\index{data@{data}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{data}{data}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Hydrostatics\+Data}\& Volume\+Calc\+::data}\hypertarget{structVolumeCalc_acb7ab639ec6e5c77daf116c6eb58693a}{}\label{structVolumeCalc_acb7ab639ec6e5c77daf116c6eb58693a}


Definition at line 690 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!first\+\_\+point@{first\+\_\+point}}
\index{first\+\_\+point@{first\+\_\+point}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{first\+\_\+point}{first_point}}]{\setlength{\rightskip}{0pt plus 5cm}bool Volume\+Calc\+::first\+\_\+point}\hypertarget{structVolumeCalc_ab639da79639aeb33b3aaeb429283f8ca}{}\label{structVolumeCalc_ab639da79639aeb33b3aaeb429283f8ca}


Definition at line 688 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!first\+\_\+submerged\+\_\+point@{first\+\_\+submerged\+\_\+point}}
\index{first\+\_\+submerged\+\_\+point@{first\+\_\+submerged\+\_\+point}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{first\+\_\+submerged\+\_\+point}{first_submerged_point}}]{\setlength{\rightskip}{0pt plus 5cm}bool Volume\+Calc\+::first\+\_\+submerged\+\_\+point}\hypertarget{structVolumeCalc_a3bc27914e09f86d93cb28daad90dddc1}{}\label{structVolumeCalc_a3bc27914e09f86d93cb28daad90dddc1}


Definition at line 687 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!hydro\+\_\+calc@{hydro\+\_\+calc}}
\index{hydro\+\_\+calc@{hydro\+\_\+calc}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{hydro\+\_\+calc}{hydro_calc}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Hydrostatic\+Calc}$\ast$ Volume\+Calc\+::hydro\+\_\+calc}\hypertarget{structVolumeCalc_a5b3b6d4983faa3c309ddc85981945993}{}\label{structVolumeCalc_a5b3b6d4983faa3c309ddc85981945993}


Definition at line 689 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!keel@{keel}}
\index{keel@{keel}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{keel}{keel}}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Vector3D Volume\+Calc\+::keel}\hypertarget{structVolumeCalc_a07e433d13508d3342e7f6a50604c40d3}{}\label{structVolumeCalc_a07e433d13508d3342e7f6a50604c40d3}


Definition at line 682 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!new\+\_\+origin@{new\+\_\+origin}}
\index{new\+\_\+origin@{new\+\_\+origin}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{new\+\_\+origin}{new_origin}}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Vector3D Volume\+Calc\+::new\+\_\+origin}\hypertarget{structVolumeCalc_aed779c2eace630d0d41239df4d371407}{}\label{structVolumeCalc_aed779c2eace630d0d41239df4d371407}


Definition at line 681 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!Sin\+Heel@{Sin\+Heel}}
\index{Sin\+Heel@{Sin\+Heel}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{Sin\+Heel}{SinHeel}}]{\setlength{\rightskip}{0pt plus 5cm}float Volume\+Calc\+::\+Sin\+Heel}\hypertarget{structVolumeCalc_ac1612ccb79673d6800b89a1acf46a028}{}\label{structVolumeCalc_ac1612ccb79673d6800b89a1acf46a028}


Definition at line 686 of file hydrostaticcalc.\+cpp.

\index{Volume\+Calc@{Volume\+Calc}!Sin\+Trim@{Sin\+Trim}}
\index{Sin\+Trim@{Sin\+Trim}!Volume\+Calc@{Volume\+Calc}}
\subsubsection[{\texorpdfstring{Sin\+Trim}{SinTrim}}]{\setlength{\rightskip}{0pt plus 5cm}float Volume\+Calc\+::\+Sin\+Trim}\hypertarget{structVolumeCalc_a36511f2f033b5488a4f677586f3e8f97}{}\label{structVolumeCalc_a36511f2f033b5488a4f677586f3e8f97}


Definition at line 684 of file hydrostaticcalc.\+cpp.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Ship\+C\+A\+Dlib/\hyperlink{hydrostaticcalc_8cpp}{hydrostaticcalc.\+cpp}\end{DoxyCompactItemize}
